package com.xyoto.takeawayBusiness.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Administrator
 */
@Data
@ApiModel("经营品类DTO")
public class SaveCategoryDTO {

    @ApiModelProperty("分类名称")
    @NotNull(message = "分类名称参数异常")
    private String title;

//    @ApiModelProperty("顺序")
//    @NotNull(message = "顺序参数异常")
//    private Short order;

}
